
#ifndef __DRAW_CONTEXT_H__
#define __DRAW_CONTEXT_H__

#include <Windows.h>

class DrawContext 
{
	private HDC myDC;

	public HDC get() 
	{
		return myDC;
	}

	public void set(HDC dc)  
	{
		this->myDC = dc;
	}

	public void drawPoint(int x, int y)
	{	
		if(NULL != myDC)
		{
			DrawPixel(myDC, x, y);
		}
	}
};

#endif